package com.parenting.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 小程序用户表 
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ParentUserDO对象", description="小程序用户表 ")
public class ParentUserDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID 主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String headPortrait;

    @ApiModelProperty(value = "性别 1男 、2女、3 未知")
    private String gender;


    @ApiModelProperty(value = "姓名")
    private String fullName;


    private String jti;


    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "出生日期")
    private Date birthday;

    @ApiModelProperty(value = "身份证")
    private String identityCards;

    @ApiModelProperty(value = "地址详情")
    private String address;


    @ApiModelProperty(value = "是否注销 1正常，2注销")
    private String cancellation;

    @ApiModelProperty(value = "是否锁定 1正常，2锁定")
    private String locking;


    @ApiModelProperty(value = "创建时间")
    private Date createdTime;


    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;


}
